package club.terroir.server.user;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Utilisateur_SS implements Serializable{

	
	private static final long serialVersionUID = 1L;

	@Id	
	private String email;
	
	private String name;
	private String firstName;
	private String password;
	private String address_1;
	private String address_2;
	private String codePosstal;
	private String ville;
	private String phoneNumber;
	
	
	public Utilisateur_SS() {
	}


	public Utilisateur_SS(String emai, String name, String firstName,
			String password, String address_1, String address_2,
			String codePosstal, String ville, String phoneNumber) {
		super();
		this.email = emai;
		this.name = name;
		this.firstName = firstName;
		this.password = password;
		this.address_1 = address_1;
		this.address_2 = address_2;
		this.codePosstal = codePosstal;
		this.ville = ville;
		this.phoneNumber = phoneNumber;
	}


	public String getEmail() {
		return email;
	}


	public void setEmail(String emai) {
		this.email = emai;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public String getFirstName() {
		return firstName;
	}


	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}


	public String getAddress_1() {
		return address_1;
	}


	public void setAddress_1(String address_1) {
		this.address_1 = address_1;
	}


	public String getAddress_2() {
		return address_2;
	}


	public void setAddress_2(String address_2) {
		this.address_2 = address_2;
	}


	public String getCodePosstal() {
		return codePosstal;
	}


	public void setCodePosstal(String codePosstal) {
		this.codePosstal = codePosstal;
	}


	public String getVille() {
		return ville;
	}


	public void setVille(String ville) {
		this.ville = ville;
	}


	public String getPhoneNumber() {
		return phoneNumber;
	}


	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	
	@Override
	public String toString() {
		return this.email+" "+firstName+" "+name+" ";
	}
	
}
